//
//  LYNavigationController.h
//  LYDevelopKit
//
//  Created by 李阳 on 2018/5/25.
//

#import <UIKit/UIKit.h>


@interface LYNavigationController : UINavigationController

/// 当pushed的时候是否隐藏底部条 默认为YES
@property (nonatomic, assign) BOOL hiddenBottomBarWhenPushed;

/// pop手势是否可用 默认为YES
@property (nonatomic, assign) BOOL popGestureEnable;

/// 返回按钮的配置
@property (nonatomic, copy) void(^backButtonConfigBlockWhenPush)(UIButton *button, UIViewController *pushedVC);


@end


@interface UIViewController (LYNavigationController)

/// 点击导航控制器返回按钮，子类可重写
- (void)backNavigationItemDidClick;

@end
